package com.qujia.station.service;

import com.qujia.station.domain.form.GoodsForm;
import com.qujia.station.domain.form.GoodsQueryForm;
import com.qujia.station.domain.vo.GoodsQueryVo;
import com.qujia.station.domain.vo.GoodsVo;

import java.util.List;

public interface GoodsService {

    int insertGoods(GoodsForm goodsForm);

    int updateGoods(Long id, GoodsForm goodsForm);

    GoodsVo selectGoodsById(Long id);

    void deleteGoods(List<Long> id);

    List<GoodsQueryVo> pageGoods(GoodsQueryForm queryForm);

    int updateStatus(Long id, Integer status);
}
